import Vue from 'vue'
import App from './App'
Vue.config.productionTip = false

// 1.系统以及登录信息 处理
import Store from './store/index.js'
Vue.prototype.$store = Store

// 2.工具类
import Utils from '@/config/utils.js'
Vue.prototype.$utils = Utils
// 公用的网络请求
import ComRequest from '@/config/comBasicRequest.js'
Vue.prototype.$comRequest = ComRequest

//3.防止多次点击
import noMultipleClicks from '@/config/noMultipleClicks.js'
Vue.prototype.$noMultipleClicks = noMultipleClicks

// 4.网络请求
// import $http from '@/uni_modules/zhouWei-request/js_sdk/requestConfig';
// Vue.prototype.$http = $http;

import $http from '@/config/zhouWei-request/js_sdk/requestConfig.js';
Vue.prototype.$http = $http;

// 5.api
import $API from '@/config/API.js';
Vue.prototype.$API = $API;

// 6.全局component
import glCompoents from '@/config/globalComponents.js'
Vue.use(glCompoents)


App.mpType = 'app'

const app = new Vue({
	...App,
	Store
})
app.$mount()
